package com.moyuduo.java8.lambda;
/**
*@author litao,School of computer and software engineering,Xihua University
*@date 2020年3月21日
*/
@FunctionalInterface
interface NoParamNoReturn {
	void lambda();
}

@FunctionalInterface
interface OneParamNoReturn{
	void lambda(int x);
}

@FunctionalInterface
interface NoParamHasReturn{
	int lambda();
}

@FunctionalInterface
interface HasParamHasReturn{
	int lambda(int x,int y);
}

@FunctionalInterface
interface UserCreatorBlankConstruct{
	User getUser();
}

@FunctionalInterface
interface UserCreatorParamConstruct{
	User getUser(String name,int age);
}
